package com.ruicar.afs.cloud.manage.revoke.condition;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruicar.afs.cloud.common.modules.contract.enums.ProcessStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author infinity
 * @version 1.0
 * @date 2020/8/7 19:02
 */
@Data
public class ManageCollectCancelCondition   {
    int pageSize;
    int pageNumber;
    @ApiModelProperty("申请时间起")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startCreateDate;
    @ApiModelProperty("申请时间止")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endCreateDate;
    @ApiModelProperty("结束时间起")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startFinishDate;
    @ApiModelProperty("结束时间止")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endFinishDate;
    @ApiModelProperty("收据id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long receiptId;
    @ApiModelProperty("合同号")
    private String contractNo;
    @ApiModelProperty("申请编号")
    private String applyNo;
    @ApiModelProperty("客户名称")
    private String custName;
    @ApiModelProperty("案件号")
    private String caseNo;
    /** 审批结果 */
    @ApiModelProperty("审批结果")
    private String approvalOperating;
    /** 审批意见 */
    @ApiModelProperty("审批意见")
    private String approvalOpinion;
    /** 原因类型 */
    @ApiModelProperty("原因类型")
    private String reasonType;
    /** 业务类型;枚举值：合同取消、身份信息变更、联系方式变更、银行卡变更、还款日变更、资产信息变更、对公还款、合同重出、溢缴款退款、延期申请、提前结清、展期 */
    @ApiModelProperty("业务类型")
    private String contractBusiness;
    /** 处理人员 */
    @ApiModelProperty("处理人员")
    private String processPerson;
    /** 业务来源 */
    @ApiModelProperty("业务来源")
    private String  businessSource;
    @ApiModelProperty("处理状态")
    private String processStatus;
    private String[] sourceType;
    @ApiModelProperty("处理方式")
    private String treatmentMethod;

}
